%{
	#include <stdlib.h>
	#include "y.tab.h"
	void yyerror(char *);
%}
word [[:alpha:]][[:alnum:]]*
float [0-9]+(\.[0-9]*)?
%%
[(),;]	{return *yytext;}
"draw"		{yylval.str = strdup(yytext); return DRAW;}
{word}		{yylval.str = strdup(yytext); return WORD;}
{float}		{yylval.f = atof(yytext); return FLOAT;}
[ \t\n]		{/*printf("$$%s$$\n", yytext)*/;}
.		{yyerror ("Non reconnu\n");}
%%
int yywrap(void) {
return 1;
}

